package com.egreen.common.pojo.entity.asset;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 *
 * </p>
 *
 * @author cloudJiang
 * @since 2022-07-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class BalanceAccount implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 账户id
     */
    private Integer id;

    /**
     * 用户余额
     */
    private BigDecimal balance;

    /**
     * 支付宝账户id策略
     */
    private String identityType;

    /**
     * 支付宝账户
     */
    private String identity;

    /**
     * 支付宝昵称
     */
    private String nickName;

    /**
     * 支付宝头像url
     */
    private String avatar;


}
